package com.yeyks.hotel.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 酒店房费提现订单支付记录表
 *
 * @author shuai
 * @date 2019-07-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="HotelWithdrawalPayRecord对象", description="酒店房费提现订单支付记录表")
public class HotelWithdrawalPayRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "支付订单ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "提现订单编号")
    @TableField("order_no")
    private String orderNo;

    @ApiModelProperty(value = "支付状态:支付超时 付款成功 支付失败")
    @TableField("status")
    private String status;

    @ApiModelProperty(value = "发起支付的时间")
    @TableField("start_time")
    private Date startTime;

    @ApiModelProperty(value = "支付编号")
    @TableField("pay_return_no")
    private String payReturnNo;

    @ApiModelProperty(value = "完成支付的时间")
    @TableField("finish_time")
    private String finishTime;

    @ApiModelProperty(value = "支付金额")
    @TableField("pay_amount")
    private Integer payAmount;

    @ApiModelProperty(value = "酒店账号json")
    @TableField("hotel_account")
    private String hotelAccount;

    @ApiModelProperty(value = "支付结果码")
    @TableField("pay_result_code")
    private String payResultCode;

    @ApiModelProperty(value = "支付结果xml")
    @TableField("pay_result")
    private String payResult;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private Date updateTime;


    public static final String ID = "id";

    public static final String ORDER_NO = "order_no";

    public static final String STATUS = "status";

    public static final String START_TIME = "start_time";

    public static final String PAY_RETURN_NO = "pay_return_no";

    public static final String FINISH_TIME = "finish_time";

    public static final String PAY_AMOUNT = "pay_amount";

    public static final String HOTEL_ACCOUNT = "hotel_account";

    public static final String PAY_RESULT_CODE = "pay_result_code";

    public static final String PAY_RESULT = "pay_result";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_TIME = "update_time";

}
